import LoginView from "../modules/loginView.js";
import StudentView from "../modules/studentView.js";
import RegView from '../modules/regView.js'

//配置的路由规则
var routes = {
    '/login':()=>{new  LoginView("app")} ,
    '/reg':()=>{new RegView("app")},
    "/student":()=>{new StudentView("app")}
  };
  //创建一个路由器
var router = Router(routes);
//初始化路由
router.init()

//console.log("***==>>",window.location.hash)
//设置初始值
//window.location.hash=window.location.hash ||"#/login";
